package com.DosonLeung.homeschoolcommunication.App;

import android.app.Application;

import java.util.ArrayList;

/**
 * Created by dosonleung on 12/22/14.
 */
public class SystemApplication extends Application {

    private ArrayList<String> targetList;//群发信息用的纪录数组

    public void setTargetList(ArrayList<String> targetList){
        this.targetList = targetList;
    }

    public ArrayList<String> getTargetList(){
        if(targetList == null)
            targetList = new ArrayList<String>();
        return targetList;
    }

    public void clearTargetList(){
        if(this.targetList == null)
            targetList = new ArrayList<String>();
        else
            this.targetList.clear();
    }
}
